package com.tensquare.friend.client;
/*
 *ClassName:GatheringClient
 *Description:活动微服务的接口
 *@author:可爱的大鸭子
 */

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Component
@FeignClient("tensquare-gathering")
public interface GatheringClient {
    @RequestMapping(value = "/gathering/myGatherings/{me}",method = RequestMethod.GET)
    public Result getMyGatherings(@PathVariable("me") String me);
}
